package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 服务商品
 *
 */
@TableName(value = "service_product")
public class ServiceProduct implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceProduct> createExample(){
		return new Example<ServiceProduct>(ServiceProduct.class);
	}

	/**  */
	@TableId(value = "product_id")
	private Long productId;

	/** 名称 */
	@TableField(value = "product_name")
	private String productName;

	@TableField(value = "vendor_name")
	private String vendorName;

	/**  */
	@TableField(value = "category_id")
	private Long categoryId;

	/** 类别名称 */
	@TableField(value = "category_name")
	private String categoryName;

	/** 内容 */
	private String content;

	/** 销量 */
	private Integer amount;

	/** 金额 */
	@TableField(value = "unit_price")
	private BigDecimal unitPrice;

	/** 状态 0:未发布 1:发布 */
	private Integer status;


	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 单位 */
	private String unit;

	/**  */
	@TableField(value = "seller_id")
	private Long sellerId;

	/** 发布者名称 */
	@TableField(value = "seller_name")
	private String sellerName;

	@TableField(value = "seller_phone_no")
	private String sellerPhoneNo;

	/** 0:商品 1：服务 2：租赁 3：需求 */
	private Integer type;

	/** 课室地址 */
	private String address;

	/** 课室id */
	@TableField(value = "room_id")
	private Long roomId;

	/** 课室名称 */
	@TableField(value = "room_name")
	private String roomName;

	@TableField(value = "seat_amount")
	private Integer seatAmount;


	private Integer area;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/** 校区名称 */
	@TableField(value = "campus_name")
	private String campusName;

	/** 省份 */
	private String province;

	/** 城市 */
	private String city;

	/** 区县 */
	private String district;

	/**是否多媒体 0不是，1是*/
	@TableField(value = "is_multimedia")
	private Integer isMultimedia;

	/** 评论数 */
	@TableField(value = "comment_amount")
	private Long commentAmount;

	/** 首张图片链接 */
	@TableField(value = "image_url")
	private String imageUrl;

	/** 当月购买总数（定时器赋值） */
	@TableField(value = "monthly_purchase_number")
	private Integer monthlyPurchaseNumber;

	/** 库存 */
	private Integer inventory;

	/** 联系人名称 */
	@TableField(value = "contact_name")
	private String contactName;

	/** 联系人电话 */
	@TableField(value = "contact_phone_no")
	private String contactPhoneNo;

	/** 联系人qq */
	@TableField(value = "contact_qq")
	private String contactQq;


	/** 可视区域 */
	@TableField(value = "use_area_team_ids")
	private String useAreaTeamIds;

	/** 获利主体id */
	@TableField(value = "profit_main_account_id")
	private Long profitMainAccountId;

	/**  */
	@TableField(value = "profit_main_account_name")
	private String profitMainAccountName;


	@TableField(value = "all_image_urls")
	private String allImageUrls;

	@TableField(value = "forward_finish_time")
	private Date forwardFinishTime;

	@TableField(value = "min_start_date")
	private Date minStartDate;

	@TableField(value = "max_end_date")
	private Date maxEndDate;

	@TableField(value = "time_types")
	private String timeTypes;

   @TableField(value = "category_ids")
   private String categoryIds;

   @TableField(value = "category_names")
   private String categoryNames;

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public BigDecimal getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Long getSellerId() {
		return this.sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return this.sellerName;
	}

	public void setSellerName(String username) {
		this.sellerName = username;
	}

	public String getSellerPhoneNo() {
		return sellerPhoneNo;
	}

	public void setSellerPhoneNo(String sellerPhoneNo) {
		this.sellerPhoneNo = sellerPhoneNo;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getRoomId() {
		return this.roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return this.roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public Integer getSeatAmount() {
		return seatAmount;
	}

	public void setSeatAmount(Integer seatAmount) {
		this.seatAmount = seatAmount;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return this.district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public Integer getIsMultimedia() {
		return this.isMultimedia;
	}

	public void setIsMultimedia(Integer isMultimedia) {
		this.isMultimedia = isMultimedia;
	}

	public Long getCommentAmount() {
		return this.commentAmount;
	}

	public void setCommentAmount(Long commentAmount) {
		this.commentAmount = commentAmount;
	}

	public String getImageUrl() {
		return this.imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Integer getMonthlyPurchaseNumber() {
		return this.monthlyPurchaseNumber;
	}

	public void setMonthlyPurchaseNumber(Integer monthlyPurchaseNumber) {
		this.monthlyPurchaseNumber = monthlyPurchaseNumber;
	}

	public Integer getInventory() {
		return this.inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

	public String getContactName() {
		return this.contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getContactPhoneNo() {
		return this.contactPhoneNo;
	}

	public void setContactPhoneNo(String contactPhoneNo) {
		this.contactPhoneNo = contactPhoneNo;
	}

	public String getContactQq() {
		return this.contactQq;
	}

	public void setContactQq(String contactQq) {
		this.contactQq = contactQq;
	}



	public String getUseAreaTeamIds() {
		return this.useAreaTeamIds;
	}

	public void setUseAreaTeamIds(String useAreaTeamIds) {
		this.useAreaTeamIds = useAreaTeamIds;
	}

	public Long getProfitMainAccountId() {
		return this.profitMainAccountId;
	}

	public void setProfitMainAccountId(Long profitMainAccountId) {
		this.profitMainAccountId = profitMainAccountId;
	}

	public String getProfitMainAccountName() {
		return profitMainAccountName;
	}

	public void setProfitMainAccountName(String profitMainAccountName) {
		this.profitMainAccountName = profitMainAccountName;
	}


	public String getAllImageUrls() {
		return allImageUrls;
	}

	public void setAllImageUrls(String allImageUrls) {
		this.allImageUrls = allImageUrls;
	}

	public Date getForwardFinishTime() {
		return forwardFinishTime;
	}

	public void setForwardFinishTime(Date forwardFinishTime) {
		this.forwardFinishTime = forwardFinishTime;
	}

	public Date getMinStartDate() {
		return minStartDate;
	}

	public void setMinStartDate(Date minStartDate) {
		this.minStartDate = minStartDate;
	}

	public Date getMaxEndDate() {
		return maxEndDate;
	}

	public void setMaxEndDate(Date maxEndDate) {
		this.maxEndDate = maxEndDate;
	}

	public String getTimeTypes() {
		return timeTypes;
	}

	public void setTimeTypes(String timeTypes) {
		this.timeTypes = timeTypes;
	}

	public String getCategoryIds() {
		return categoryIds;
	}

	public void setCategoryIds(String categoryIds) {
		this.categoryIds = categoryIds;
	}

	public String getCategoryNames() {
		return categoryNames;
	}

	public void setCategoryNames(String categoryNames) {
		this.categoryNames = categoryNames;
	}
}
